<?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * P2pAppLog
 *
 * @ORM\Table(name="p2p_app_log")
 * @ORM\Entity
 */
class P2pAppLog
{
    /**
     * @var string
     *
     * @ORM\Column(name="request_method", type="string", length=50, nullable=false)
     */
    private $requestMethod;

    /**
     * @var string
     *
     * @ORM\Column(name="request_url", type="text", length=65535, nullable=true)
     */
    private $requestUrl;

    /**
     * @var string
     *
     * @ORM\Column(name="request_data", type="text", length=65535, nullable=true)
     */
    private $requestData;

    /**
     * @var integer
     *
     * @ORM\Column(name="sign_status", type="integer", nullable=false)
     */
    private $signStatus;

    /**
     * @var string
     *
     * @ORM\Column(name="request_ip", type="string", length=50, nullable=true)
     */
    private $requestIp;

    /**
     * @var integer
     *
     * @ORM\Column(name="request_time", type="integer", nullable=false)
     */
    private $requestTime;

    /**
     * @var string
     *
     * @ORM\Column(name="apptype", type="string", length=20, nullable=false)
     */
    private $apptype = '';

    /**
     * @var string
     *
     * @ORM\Column(name="appver", type="string", length=20, nullable=false)
     */
    private $appver = '';

    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;



    /**
     * Set requestMethod
     *
     * @param string $requestMethod
     *
     * @return P2pAppLog
     */
    public function setRequestMethod($requestMethod)
    {
        $this->requestMethod = $requestMethod;

        return $this;
    }

    /**
     * Get requestMethod
     *
     * @return string
     */
    public function getRequestMethod()
    {
        return $this->requestMethod;
    }

    /**
     * Set requestUrl
     *
     * @param string $requestUrl
     *
     * @return P2pAppLog
     */
    public function setRequestUrl($requestUrl)
    {
        $this->requestUrl = $requestUrl;

        return $this;
    }

    /**
     * Get requestUrl
     *
     * @return string
     */
    public function getRequestUrl()
    {
        return $this->requestUrl;
    }

    /**
     * Set requestData
     *
     * @param string $requestData
     *
     * @return P2pAppLog
     */
    public function setRequestData($requestData)
    {
        $this->requestData = $requestData;

        return $this;
    }

    /**
     * Get requestData
     *
     * @return string
     */
    public function getRequestData()
    {
        return $this->requestData;
    }

    /**
     * Set signStatus
     *
     * @param integer $signStatus
     *
     * @return P2pAppLog
     */
    public function setSignStatus($signStatus)
    {
        $this->signStatus = $signStatus;

        return $this;
    }

    /**
     * Get signStatus
     *
     * @return integer
     */
    public function getSignStatus()
    {
        return $this->signStatus;
    }

    /**
     * Set requestIp
     *
     * @param string $requestIp
     *
     * @return P2pAppLog
     */
    public function setRequestIp($requestIp)
    {
        $this->requestIp = $requestIp;

        return $this;
    }

    /**
     * Get requestIp
     *
     * @return string
     */
    public function getRequestIp()
    {
        return $this->requestIp;
    }

    /**
     * Set requestTime
     *
     * @param integer $requestTime
     *
     * @return P2pAppLog
     */
    public function setRequestTime($requestTime)
    {
        $this->requestTime = $requestTime;

        return $this;
    }

    /**
     * Get requestTime
     *
     * @return integer
     */
    public function getRequestTime()
    {
        return $this->requestTime;
    }

    /**
     * Set apptype
     *
     * @param string $apptype
     *
     * @return P2pAppLog
     */
    public function setApptype($apptype)
    {
        $this->apptype = $apptype;

        return $this;
    }

    /**
     * Get apptype
     *
     * @return string
     */
    public function getApptype()
    {
        return $this->apptype;
    }

    /**
     * Set appver
     *
     * @param string $appver
     *
     * @return P2pAppLog
     */
    public function setAppver($appver)
    {
        $this->appver = $appver;

        return $this;
    }

    /**
     * Get appver
     *
     * @return string
     */
    public function getAppver()
    {
        return $this->appver;
    }

    /**
     * Get id
     *
     * @return integer
     */
    public function getId()
    {
        return $this->id;
    }
}
